local _PACKAGE               = (...):match("^(.+)[%./][^%./]+"):gsub("[%./]?node_types", "")
local class                  = require 'gty3.sys.BehaviourTree.middleclass'
local Decorator              = require 'gty3.sys.BehaviourTree.node_types.decorator'
local AlwaysSucceedDecorator = class('AlwaysSucceedDecorator', Decorator)

function AlwaysSucceedDecorator:success()
  self.control:success()
end

function AlwaysSucceedDecorator:fail()
  self.control:success()
end

return AlwaysSucceedDecorator
